#ifndef _GL_VIEWPORT_H_
#define _GL_VIEWPORT_H_

#include "..\glew\glew.h"
#include "..\cuCommon\cuTypes.h"

typedef struct GL_VIEWPORT_DESC 
{
    uint32 TopLeftX;
    uint32 TopLeftY;
    uint32 Width;
    uint32 Height;
    float  MinDepth;
    float  MaxDepth;
    GL_VIEWPORT_DESC(uint32 w = 0, uint32 h = 0, float nd = 0.0f, float xd = 1.0f)
    {
        TopLeftX = 0;
        TopLeftY = 0;
        Width    = w;
        Height   = h;
        MinDepth = nd;
        MaxDepth = xd;
    }
} GL_VIEWPORT_DESC; 

void glSetViewport(const GL_VIEWPORT_DESC * pVp);


#endif